import request from '@/utils/request'

// 查询拼多多业绩日报列表
export function listBiPddPerformanceDwd(query) {
  return request({
    url: '/pdd/BiPddPerformanceDwd/list',
    method: 'get',
    params: query
  })
}

// 查询拼多多业绩日报详细
export function getBiPddPerformanceDwd(id) {
  return request({
    url: '/pdd/BiPddPerformanceDwd/' + id,
    method: 'get'
  })
}

// 新增拼多多业绩日报
export function addBiPddPerformanceDwd(data) {
  return request({
    url: '/pdd/BiPddPerformanceDwd',
    method: 'post',
    data: data
  })
}

// 修改拼多多业绩日报
export function updateBiPddPerformanceDwd(data) {
  return request({
    url: '/pdd/BiPddPerformanceDwd',
    method: 'put',
    data: data
  })
}

// 删除拼多多业绩日报
export function delBiPddPerformanceDwd(id) {
  return request({
    url: '/pdd/BiPddPerformanceDwd/' + id,
    method: 'delete'
  })
}
